package personal.vivian.builder;

import personal.vivian.interceptor.MethodInterc;

import java.lang.reflect.Method;

public class MethodInfo {
    private MethodInterc methodInterc;
    private Method method;
    private Object[] args;

    public MethodInfo(MethodInterc methodInterc, Method method, Object[] args) {
        this.methodInterc = methodInterc;
        this.method = method;
        this.args = args;
    }

    public MethodInterc getMethodInterc() {
        return methodInterc;
    }

    public void setMethodInterc(MethodInterc methodInterc) {
        this.methodInterc = methodInterc;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }
}
